package kr.hyunist.musicplayexer.DTO;

import android.net.Uri;
import android.provider.MediaStore;

public class MyMusic {
	private Uri uri; // 해당 곡의 uri
	private String musicID; // 음악 ID
	private String albumID; // 앨범아트 ID
	private String musicTitle; // 타이틀
	private String artist; // 아티스트명
	private String data; // 파일명
	private String playTime; // 총 재생시간

	public MyMusic(String musicID, String albumID, String musicTitle,
			String artist, String data, String playTime) {
		this.musicID = musicID;
		this.albumID = albumID;
		this.musicTitle = musicTitle;
		this.artist = artist;
		this.data = data;
		this.playTime = playTime;
		uri = Uri.withAppendedPath(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
				"" + musicID);
	}

	public String getMusicID() {
		return musicID;
	}

	public String getAlbumID() {
		return albumID;
	}

	public String getMusicTitle() {
		return musicTitle;
	}

	public String getArtist() {
		return artist;
	}

	public String getPlayTime() {
		return playTime;
	}

	public void setMusicID(String musicID) {
		this.musicID = musicID;
	}

	public void setAlbumID(String albumID) {
		this.albumID = albumID;
	}

	public void setMusicTitle(String musicTitle) {
		this.musicTitle = musicTitle;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public void setPlayTime(String playTime) {
		this.playTime = playTime;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public Uri getUri() {
		return uri;
	}

	public void setUri(Uri uri) {
		this.uri = uri;
	}

}
